<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="../js/vue.js"></script>
	</head>
	<body>
		<div id="root">
			<div v-text="name">姓名</div>
			<div v-html="website"></div>
			
		</div>
		
		<script type="text/javascript">
			const vm = new Vue({
				el: "#root",
				data: {
					name: '张三',
					website: '<a href="https://www.baidu.com">我的主页</a>'
				}
			})
		</script>
	</body>
</html>